/*
 * @Author: WHAlex
 * @Date: 2025-01-18 09:39:21
 *
 * Copyright (c) 2025 by atguigu, All Rights Reserved.
 */
#ifndef __DRI_WIFI_H__
#define __DRI_WIFI_H__

#include <stdio.h>
#include <string.h>
#include <esp_log.h>
#include <esp_wifi.h>
#include <esp_event.h>
#include <nvs_flash.h>
#include <wifi_provisioning/manager.h>
#include <wifi_provisioning/scheme_ble.h>

#include "qrcode.h"

#include "Common/Com_Debug.h"

#define PROV_QR_VERSION "v1"
#define PROV_TRANSPORT_BLE "ble"
#define QRCODE_BASE_URL "https://espressif.github.io/esp-jumpstart/qrcode.html"

typedef void (*Wifi_cb)(void);

void Dri_Wifi_Init(void);

void Dri_Wifi_Start(Wifi_cb wifi_cb);

#endif
